﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.VR.Model
{
    public class UnitTreeModel
    {
        /// <summary>
        ///  单位名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        ///  班级id
        /// </summary>
        public int id { get; set; }
        public int pId { get; set; }
        /// <summary>
        ///  单位代码
        /// </summary>
        public string unit_code { get; set; }
        /// <summary>
        ///  是否属于单位
        ///  true：单位
        ///  false：班级
        /// </summary>
        public bool is_unit { get; set; }
        /// <summary>
        ///  子节点
        /// </summary>
        public List<UnitTreeModel> children { get; set; }
    }
}